<!--
 * @Author: your name
 * @Date: 2021-09-24 21:56:48
 * @LastEditTime: 2021-09-24 21:58:27
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \vue_basic\20_单文件组件练习\Student.vue
-->
<template>
  <div>
    <h2>学生的姓名：{{ name }}</h2>
    <h2>学生的年龄：{{ age }}</h2>
  </div>
</template>

<script>
export default {
  name: "Student",
  data() {
    return {
      name: "张三",
      age: 18,
    };
  },
};
</script>

